package game.assist.diablo3.util;

import android.app.ProgressDialog;
import android.content.Context;
import android.widget.Toast;

public class DialogUtil {
	private static ProgressDialog mdialog;

	public static ProgressDialog setProgessDialogText(Context context, String title, String message) {
		mdialog = new ProgressDialog(context);
		mdialog.setTitle(title);
		mdialog.setMessage(message);
		mdialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
		return mdialog;
	}

	public static void showShortToastInfo(Context context, String info) {
		Toast toast = Toast.makeText(context, info, 0);
		toast.show();
	}
}
